home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d8 / tlxtmset.arc / TIMESET.DOC < prev    next >
Text File  |  1990-12-12  |  6KB  |  142 lines

  1. Modified:    12 Dec 1990
  2.     John Grothman   (via Channel 1 BBS at (617) 354-8873)
  3.                     (via LANS BBS      at (219) 884-9508)
  4.                     (via Exis BBS      at (416) 439-9399)
  5.  
  6.     Modified the 12 Oct 1990 file to support 4DOS.  PC-DOS (and I assume
  7.     MS-DOS as well) will accept a date string in either of two forms:
  8.     12-12-90  or  12-12-1990.  The original version of TIMESET used the
  9.     second form; 4DOS will only accept the first form (at least as of
  10.     4DOS version 3.02a, which is the latest as of today).  I modified the
  11.     final line that calculates the integer date to subtract 1900 from the
  12.     result before converting the year to a string.  This works 'plenty good',
  13.     but will work only for the next 9 years, not the next 140.  Small price
  14.     to pay, I figured.  Enjoy.
  15.  
  16.  
  17. Modified: 10 - 12 - 1990
  18.     Paul Gardner 408-297-9660
  19.  
  20.     I wish to thank the original author of this script file.
  21.  
  22.     I took the liberty of modifing the UTC capture routine as
  23.     the original did not reliably capture and hangup on my clone.
  24.  
  25.     Added variables turn off the alarm sound at connect time.
  26.     Added calendar date set.
  27.  
  28.     I may be one second off in the clock set. If so I will
  29.     correct it next go around.
  30.  
  31.     I also included two batch files and two .com files in the zip
  32.     You may have to modify the batch files to match your hard
  33.     disk setup. The Blue.com sets the screen background blue
  34.     on ega and vga screens.
  35.  
  36.     The com.files and rolex.scr should be installed in your root
  37.     directry and a path command set to the root.
  38.  
  39. USAGE:
  40.     The Rolex is available with EGA and VGA screens and
  41.     is executed by typeing rolex
  42.  
  43.     The DOS time is set by executing either the bat file
  44.     timeset on none ega-vga computers or setrolex if ega-vga.
  45.  
  46.     On AT type computers the cmos clock is also corrected
  47.     this may not be true on all clones so you may have to
  48.     continue research on yours
  49.  
  50.     You must also edit the time zone setting in the .slt file
  51.     and recompile with cs if you are not in PDT.
  52.  
  53.  
  54. Standard Time Differences
  55.   for Various World Cities Relative to Greenwich, England
  56.  
  57. Note: These differences are based on standard time for all cities listed.
  58.  
  59.     Tokyo       9 hours     (Do not precede positive numbers with
  60.     Hong Kong   8 hours         a plus sign during configuration.)
  61.     Beijing     8 hours
  62.     Jakarta     8 hours
  63.     Bombay    5.5 hours
  64.     Karachi     5 hours
  65.     Moscow      3 hours
  66.     Nairobi     3 hours
  67.     Riyadh      3 hours
  68.     Cairo       2 hours
  69.     Johannesburg    2 hours
  70.     Rome        1 hours
  71.     Paris       1 hours
  72.   --->    GREENWICH 0 hours   <---   (0 degrees longitude)
  73.     Dakar       0 hours
  74.     Reykjavic   0 hours
  75.     Caracas    -4 hours     (Use the minus sign during configuration.)
  76.     New York   -5 hours
  77.     Chicago    -6 hours
  78.     Mexico City    -6 hours
  79.     Denver     -7 hours
  80.     San Francisco  -8 hours
  81.     Anchorage  -9 hours
  82.     Honolulu  -10 hours
  83.  
  84. Oringinal Author:   Unknown
  85. Original Notes:
  86.     FILES:
  87.     This archive should contain three files:  Timeset.doc (this
  88.     file), TIMESET.SLT (the source), and TIMESET.SLC (the
  89.     compiled version).
  90.  
  91.     DESCRIPTION:
  92.     TIMESET is a script file written for TELIX v3.0 and is used
  93.     to set your DOS clock to the precise time from the Naval
  94.     Observatory in Washington DC.
  95.  
  96.     WHY?
  97.     I wrote this script to replace a much larger program that I
  98.     had been using.  Who needs to keep a program larger than 100k
  99.     on the hard drive when a script less than 1k will do the job
  100.     just as well?
  101.  
  102.     USAGE:
  103.     Using this script is simple.  Place TIMESET.SLC into the
  104.     directory that you keep your scripts in.  After bringing up
  105.     TELIX, hit alt-g.  When asked which script you want to run,
  106.     type TIMESET <enter>.  TIMESET will call the Naval
  107.     Observatory, get the precise time, and set your DOS clock to
  108.     it.  Then TIMESET will display the current time with a real
  109.     time clock on the screen.  This will let you gather up all of
  110.     the clocks in your house so you can set them.  When you are
  111.     done, just hit the space bar to exit.
  112.  
  113.     DISCLAIMERS:
  114.     I wrote TIMESET primarily for my own use.  It probably has at
  115.     least a couple of examples of not-so-good programing
  116.     practices in it, but it works fine for me.
  117.  
  118.     Note that the code is fairly well commented.  Specifically,
  119.     if you use TIMESET in a different time zone than mine, you
  120.     should be able to find the line where I adjusted from
  121.     Universal Time to my local time and make the proper
  122.     adjustments to suit you.  Also, this will become important
  123.     when it is time to make the transition to and from daylight
  124.     savings time.  Hmmm.  Is it spring forward, fall back.  Or is
  125.     it fall forward, spring back.  I dunno.  I can never
  126.     remember.  Anyway, it would have been a fairly easy job to
  127.     put something in the script to handle this, but I didn't.
  128.  
  129.     Also note that you may find it necessary to put another line
  130.     in the script that will transfer the DOS time to the memory
  131.     of your built-in clock.  Setting your DOS time does not
  132.     necessarily mean that the time also goes into your hardware
  133.     clock.
  134.  
  135.     I will not be liable for any damages or claims related in any
  136.     way to the use of this script.  I make no warranties and
  137.     specifically disclaim any implied warranties of this product.
  138.     Also, I make no claims of suitability of this product for any
  139.     purpose other than to take up space on your disk.
  140.  
  141.  
  142.